package com.xiaolin.sports.service;

import java.util.List;

import com.xiaolin.sports.model.SchoolDisCourse;
import com.xiaolin.sports.model.SchoolInfo;
import com.xiaolin.sports.model.SysUser;
import com.xiaolin.sports.page.Page;
import com.xiaolin.sports.reqVo.UpdateIdsVO;
import com.xiaolin.sports.view.SchoolDisView;

public interface ISchoolInfoService {

	void addAndUpdateSchoolInfo(SchoolInfo record, SysUser sysUser);
	
	List<SchoolInfo> selectByPage(Page<SchoolInfo> page);
	
	SchoolInfo selectById(Integer id);
	
	int updateBatchDel(UpdateIdsVO vo);
	
	List<SchoolDisView> selectSchoolDisList(Integer schoolId);
	
	void addAndUpdateSchoolDis(SchoolDisCourse record, SysUser sysUser);

	int updateByPrimaryKeySelective(SchoolInfo record);
}
